
 
 L o a d   " T h e r e m i n o _ S i g n a l S c o p e . e x e " 
 
 L o a d   " T h e r e m i n o _ H a l . e x e " 
 
 L o a d   " T h e r e m i n o _ S e w S c o p e . e x e " 
 
 
 
 B u t t o n   2   T e x t   A b o r t S e w i n g 
 
 
 
 V a r i a b l e   N u m e r i c   S l o t X   =   1 
 
 V a r i a b l e   N u m e r i c   S l o t Y   =   3 
 
 V a r i a b l e   N u m e r i c   S l o t Z   =   5 
 
 V a r i a b l e   N u m e r i c   S t o p A n g l e   =   9 0 
 
 V a r i a b l e   N u m e r i c   S t a r t A n g l e   =   2 7 0 
 
 
 
 V a r i a b l e   N u m e r i c   X m a x   =   9 0 0 
 
 V a r i a b l e   N u m e r i c   X m i n   =   0 
 
 V a r i a b l e   N u m e r i c   Y m a x   =   9 0 0 
 
 V a r i a b l e   N u m e r i c   Y m i n   =   0 
 
 V a r i a b l e   N u m e r i c   M a x P e r S e c   =   2 0 
 
 
 
 S e w I n i t   S l o t X   S l o t Y   S l o t Z   S t o p A n g l e   S t a r t A n g l e 
 
 
 
 S e w L i m i t s   X m i n   X m a x   Y m i n   Y m a x   M a x P e r S e c 
 
 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
 S l o t   8   =   1 0 0 0 
 
 W a i t   S e c o n d s   0 . 1 
 
 S l o t   8   =   0 
 
 S l o t   9   =   1 0 0 0 
 
 S l o t ( S l o t Z )   =   0 
 
 
 
 ' S e w T o   1   1   5 0 0   0   " " 
 
 ' G o s u b   W a i t S e w P r o g r e s s 
 
 
 
 v 1   =   E l a p s e d T i m e 
 
 
 
 ' S e w T o   1 0 1   8 1   2 0   5   " z i g z a g = 2 " 
 
 ' G o s u b   W a i t S e w P r o g r e s s 
 
 
 
 S e w T o   3 0   4 5   1 0 0   0   " " 
 
 G o s u b   W a i t S e w P r o g r e s s 
 
 
 
 
 
 S e w T o   3 0   3 0   2 0   6   " R a d i u s = 1 5 . 9 2 " '   z i g z a g = 2 " 
 
 G o s u b   W a i t S e w P r o g r e s s 
 
 
 
 v 2   =   E l a p s e d T i m e 
 
 
 
 
 
 S e w T o   1   1   5 0 0   0   " " 
 
 G o s u b   W a i t S e w P r o g r e s s 
 
 
 
 P r i n t   F o r m a t ( v 2   -   v 1 ,   " 0 . 0 0 0 " )   +   "   s e c . " 
 
 
 
 S l o t   9   =   0 
 
 S t o p 
 
 
 
 
 
 L a b e l   A b o r t S e w i n g 
 
 	 S e w A b o r t 
 
 S t o p 
 
 
 
 L a b e l   W a i t S e w P r o g r e s s 
 
 	 V a r i a b l e   N u m e r i c   w s p 1 
 
 	 F o r   w s p 1   =   1   T o   I n f i n i t y 
 
 	 	 I f   S e w P r o g r e s s   <   0 
 
 	 	 	 w s p 1   =   S e w P r o g r e s s 
 
 	 	 	 E x i t 
 
 	 	 E n d I f 
 
 	 	 P r i n t   I n t ( A b s ( S e w P r o g r e s s )   *   1 0 0 )   +   " % " 
 
 	 	 ' P r i n t   M o d ( S l o t ( S l o t _ M o t o r Z ) , 1 ) 
 
 	 N e x t 
 
 R e t u r n 
 
 
 
 
 
 ' W A T C H   S e w T o _ S p e e d 
 
 ' E X E C   B u t t o n   5   T e x t   B u t t o n 5 
 
 